home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10730 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  754 b 

  1. Path: inforamp.net!ts6-06
  2. From: rmorin@inforamp.net (Randy Charles Morin)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: How to retrieve the Handle from a Dialog
  5. Date: Sat, 09 Mar 96 20:14:44 GMT
  6. Organization: MiddleWorld SoftWare
  7. Message-ID: <4hsos0$rsm@sam.inforamp.net>
  8. References: <4hjvn8$f2l@neptunus.pi.net>
  9. NNTP-Posting-Host: ts6-06.tor.inforamp.net
  10. X-Newsreader: News Xpress Version 1.0 Beta #4
  11.  
  12. In article <4hjvn8$f2l@neptunus.pi.net>, cat.tech@pi.net (Remy Cool) wrote:
  13. >Is there a way to retrieve the Handle (HWND) from the Dialog ?
  14. HWND handle = pDialog->HWindow;
  15.  
  16. >So I can use it in my ' Draw Bmp Code' ?
  17. You could write a virtual Paint() method for your dialog.  You don't need the 
  18. HWND to do this.  You could also use a bitmap control.
  19.  
  20. Agrivar
  21.